package com.example.toy.collector;

import com.example.toy.collector.model.Response;
import com.example.toy.core.record.ToyRecord;

import java.io.Closeable;

/**
 * RpcSender
 *
 * @author shenbing
 * @date 2021/12/17
 */
public interface RpcSender extends Closeable {

  Response send(ToyRecord record);

  String getId();
}
